/*
 * @Description:枚举类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-08-08 16:24:42
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-08-08 16:51:51
 */
// 定义一个枚举类
enum Gender {
  MALE, FEMALE
}
// javap Gender.class
// final class Gender extends java.lang.Enum<Gender> {
// public static final Gender MALE;
// public static final Gender FEMALE;

// public static Gender[] values();

// public static Gender valueOf(java.lang.String);

// static {};
// }

// javap -p Gender.class // 显示所有私有成员
final class Gender extends java.lang.Enum<Gender> {
  public static final Gender MALE;
  public static final Gender FEMALE;
  private static final Gender[] $VALUES;

  public static Gender[] values();

public static Gender valueOf(java.lang.String);

  private Gender();

  static {
  };
}